Gender Type
Represents predefined gender categories.
This enumeration is used throughout the application to classify individuals by gender, typically for purposes such as audience analytics, user profile information, or tailoring content.
It includes an UNKNOWN category to handle cases where gender is not specified, cannot be determined, or is intentionally omitted for privacy.
Conversion methods fromInteger and fromString are provided for interoperability with data sources that use integer codes or string representations for gender.
See also
// Example of where this might be used
Functions
GenderType
enum constant.GenderType
enum constant.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.